#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
****************************************************
Project:python
Filename: pagination.py
Author:银河
Create: 2025/3/25 下午1:27 
Notes:
***************************************************
'''
from rest_framework import pagination

class PageNumberPagination(pagination.PageNumberPagination):

    '''
    分页全局设置
    '''
    page_size = 10  # 每页默认数量
    page_size_query_param = 'page_size'
    max_page_size = 200 # 每页最大数量
